<!DOCTYPE html>
<html lang="zh">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
	<meta name="author" content="小枫">
	<title>后台首页 | <%= data.title %></title>
	<link rel="shortcut icon" type="image/x-icon" href="<%= data.icon %>">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="default">
	<link rel="stylesheet" type="text/css" href="/admin/css/materialdesignicons.min.css">
	<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="/admin/css/animate.min.css">
	<link rel="stylesheet" type="text/css" href="/admin/js/bootstrap-multitabs/multitabs.min.css">
	<link rel="stylesheet" type="text/css" href="/admin/css/style.min.css">
</head>

<body class="lyear-index">
	<div class="lyear-layout-web">
		<div class="lyear-layout-container">
			<!--左侧导航-->
			<aside class="lyear-layout-sidebar">

				<!-- logo -->
				<div id="logo" class="sidebar-header">
					<a href="JavaScript:;">
						<img id="myLogo" src="/admin/images/logo.svg" title="<%= data.title %>" alt="logo" style="width: 260px;">
					</a>
				</div>
				<div class="lyear-layout-sidebar-info lyear-scroll">

					<nav class="sidebar-main">

						<ul class="nav-drawer">
							<li class="nav-item active">
								<a class="multitabs" href="./main.html" id="default-page" data-home="true" rel="noopener noreferrer">
									<i class="mdi mdi-home-city-outline"></i>
									<span>后台首页</span>
								</a>
							</li>
							<li class="nav-item nav-item-has-subnav">
								<a href="javascript:void(0)">
									<i class="mdi mdi-television-guide"></i>
									<span>网站配置</span>
								</a>
								<ul class="nav nav-subnav">
									<li> <a class="multitabs" rel="noopener noreferrer" href="./config.html">基础配置</a> </li>
									<li> <a class="multitabs" rel="noopener noreferrer" href="./homeConfig.html">首页配置</a> </li>
									<li> <a class="multitabs" rel="noopener noreferrer" href="./recreation.html">娱乐配置</a> </li>
									<li> <a class="multitabs" rel="noopener noreferrer" href="./site.html">旗下站点</a> </li>
								</ul>
							</li>
							<li class="nav-item">
								<a class="multitabs" href="./sponsor.html" rel="noopener noreferrer">
									<i class="mdi mdi-clover"></i>
									<span>赞助配置</span>
								</a>
							</li>
							<li class="nav-item">
								<a class="multitabs" href="./friends.html" rel="noopener noreferrer">
									<i class="mdi mdi-link"></i>
									<span>友情链接</span>
								</a>
							</li>
							<li class="nav-item">
								<a class="multitabs" href="./ip.html" rel="noopener noreferrer">
									<i class="mdi mdi-account-eye-outline"></i>
									<span>访问信息</span>
								</a>
							</li>
							<li class="nav-item">
								<a class="multitabs" href="./code.html" rel="noopener noreferrer">
									<i class="mdi mdi-file-code-outline"></i>
									<span>自定义代码</span>
								</a>
							</li>
						</ul>
					</nav>

					<div class="sidebar-footer">
						<p class="copyright">
							<span>Copyright &copy; <span id="developmentYear"></span>. </span>
							<a target="_blank" href="https://www.xfabe.com" rel="noopener noreferrer">小枫网络</a>
							<span> All rights reserved.</span>
						</p>
					</div>
				</div>

			</aside>
			<!--End 左侧导航-->

			<!--头部信息-->
			<header class="lyear-layout-header">

				<nav class="navbar">

					<div class="navbar-left">
						<div class="lyear-aside-toggler">
							<span class="lyear-toggler-bar"></span>
							<span class="lyear-toggler-bar"></span>
							<span class="lyear-toggler-bar"></span>
						</div>
					</div>

					<ul class="navbar-right d-flex align-items-center">
						<!--顶部消息部分-->
						<li class="dropdown dropdown-notice">
							<span data-bs-toggle="dropdown" class="position-relative icon-item" id="clcikNotice">
								<i class="mdi mdi-bell-outline fs-5"></i>
								<span class="position-absolute translate-middle badge bg-danger" id="isNotice" style="opacity: 0; transition: opacity .35s;">1</span>
							</span>
							<div class="dropdown-menu dropdown-menu-end">
								<div class="lyear-notifications">
									<div class="lyear-notifications-title d-flex justify-content-between" data-stopPropagation="true">
										<span>更新日志</span>
										<a href="https://auth.nitai5pro.xfabe.com" target="_blank" rel="noopener noreferrer">查看全部</a>
									</div>
									<div class="lyear-notifications-info lyear-scroll" id="update-dom"></div>
								</div>
							</div>
						</li>
						<!--End 顶部消息部分-->
						<!--切换主题配色-->
						<li class="dropdown dropdown-skin">
							<span data-bs-toggle="dropdown" class="icon-item">
								<i class="mdi mdi-palette fs-5"></i>
							</span>
							<ul class="dropdown-menu dropdown-menu-end" data-stopPropagation="true">
								<li class="lyear-skin-title">
									<p>切换主题</p>
								</li>
								<li class="lyear-skin-li clearfix">
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_1" value="default" checked="checked">
										<label class="form-check-label" for="site_theme_1"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_2" value="translucent-green">
										<label class="form-check-label" for="site_theme_2"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_3" value="translucent-blue">
										<label class="form-check-label" for="site_theme_3"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_4" value="translucent-yellow">
										<label class="form-check-label" for="site_theme_4"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_5" value="translucent-red">
										<label class="form-check-label" for="site_theme_5"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_6" value="translucent-pink">
										<label class="form-check-label" for="site_theme_6"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_7" value="translucent-cyan">
										<label class="form-check-label" for="site_theme_7"></label>
									</div>
									<div class="form-check form-check-inline">
										<input class="form-check-input" type="radio" name="site_theme" id="site_theme_8" value="dark">
										<label class="form-check-label" for="site_theme_8"></label>
									</div>
								</li>
							</ul>
						</li>
						<!--End 切换主题配色-->
						<!--个人头像内容-->
						<li class="dropdown">
							<a href="javascript:void(0)" data-bs-toggle="dropdown" class="dropdown-toggle">
								<img class="avatar-md rounded-circle" src="<%= data.userAvatarUrl %>" alt="<%= data.username %>" />
								<span style="margin-left: 10px;"><%= data.username %></span>
							</a>
							<ul class="dropdown-menu dropdown-menu-end">
								<li>
									<a class="multitabs dropdown-item" data-url="./setPwd.html" href="javascript:void(0)">
										<i class="mdi mdi-lock-outline"></i>
										<span>修改密码</span>
									</a>
								</li>
								<li>
									<a class="dropdown-item" href="javascript:void(0)" id="clearCache">
										<i class="mdi mdi-delete-outline"></i>
										<span>清空缓存</span>
									</a>
								</li>
								<li>
									<a class="dropdown-item" href="JavaScript:;" id="restartProject">
										<i class="mdi mdi-restart"></i>
										<span>重启项目</span>
									</a>
								</li>
								<li>
									<a class="dropdown-item" href="JavaScript:;" id="closedProject">
										<i class="mdi mdi-power"></i>
										<span>关闭项目</span>
									</a>
								</li>
								<li class="dropdown-divider"></li>
								<li>
									<a class="dropdown-item" href="javascript:void(0)" id="logInOut">
										<i class="mdi mdi-logout"></i>
										<span>退出登录</span>
									</a>
								</li>
							</ul>
						</li>
						<!--End 个人头像内容-->
					</ul>

				</nav>

			</header>
			<!--End 头部信息-->

			<!--页面主要内容-->
			<main class="lyear-layout-content">
				<div id="iframe-content"></div>
			</main>
			<!--End 页面主要内容-->
		</div>
	</div>

	<script type="text/javascript" src="/admin/js/jquery.min.js"></script>
	<script type="text/javascript" src="/admin/js/sweetalert.min.js"></script>
	<script type="text/javascript" src="/admin/js/popper.min.js"></script>
	<script type="text/javascript" src="/admin/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="/admin/js/perfect-scrollbar.min.js"></script>
	<script type="text/javascript" src="/admin/js/bootstrap-multitabs/multitabs.min.js"></script>
	<script type="text/javascript" src="/admin/js/jquery.cookie.min.js"></script>
	<!--引入loading插件js-->
	<script type="text/javascript" src="js/lyear-loading.js"></script>
	<script type="text/javascript" src="/admin/js/index.min.js"></script>
	<script type="text/javascript" src="/admin/js/nitai5pro/index.js"></script>
</body>

</html>